active(fib(N)) → mark(sel(N, fib1(s(0), s(0))))
active(fib1(X, Y)) → mark(cons(X, fib1(Y, add(X, Y))))
active(add(0, X)) → mark(X)
active(add(s(X), Y)) → mark(s(add(X, Y)))
active(sel(0, cons(X, XS))) → mark(X)
active(sel(s(N), cons(X, XS))) → mark(sel(N, XS))
mark(fib(X)) → active(fib(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(fib1(X1, X2)) → active(fib1(mark(X1), mark(X2)))
mark(s(X)) → active(s(mark(X)))
mark(0) → active(0)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(add(X1, X2)) → active(add(mark(X1), mark(X2)))
fib(mark(X)) → fib(X)
fib(active(X)) → fib(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
fib1(mark(X1), X2) → fib1(X1, X2)
fib1(X1, mark(X2)) → fib1(X1, X2)
fib1(active(X1), X2) → fib1(X1, X2)
fib1(X1, active(X2)) → fib1(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
add(mark(X1), X2) → add(X1, X2)
add(X1, mark(X2)) → add(X1, X2)
add(active(X1), X2) → add(X1, X2)
add(X1, active(X2)) → add(X1, X2)
↳ QTRS
↳ DependencyPairsProof
active(fib(N)) → mark(sel(N, fib1(s(0), s(0))))
active(fib1(X, Y)) → mark(cons(X, fib1(Y, add(X, Y))))
active(add(0, X)) → mark(X)
active(add(s(X), Y)) → mark(s(add(X, Y)))
active(sel(0, cons(X, XS))) → mark(X)
active(sel(s(N), cons(X, XS))) → mark(sel(N, XS))
mark(fib(X)) → active(fib(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(fib1(X1, X2)) → active(fib1(mark(X1), mark(X2)))
mark(s(X)) → active(s(mark(X)))
mark(0) → active(0)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(add(X1, X2)) → active(add(mark(X1), mark(X2)))
fib(mark(X)) → fib(X)
fib(active(X)) → fib(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
fib1(mark(X1), X2) → fib1(X1, X2)
fib1(X1, mark(X2)) → fib1(X1, X2)
fib1(active(X1), X2) → fib1(X1, X2)
fib1(X1, active(X2)) → fib1(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
add(mark(X1), X2) → add(X1, X2)
add(X1, mark(X2)) → add(X1, X2)
add(active(X1), X2) → add(X1, X2)
add(X1, active(X2)) → add(X1, X2)
ADD(active(X1), X2) → ADD(X1, X2)
MARK(fib1(X1, X2)) → MARK(X1)
ACTIVE(fib(N)) → MARK(sel(N, fib1(s(0), s(0))))
MARK(fib1(X1, X2)) → FIB1(mark(X1), mark(X2))
MARK(fib(X)) → ACTIVE(fib(mark(X)))
MARK(cons(X1, X2)) → MARK(X1)
CONS(X1, mark(X2)) → CONS(X1, X2)
ADD(X1, active(X2)) → ADD(X1, X2)
ADD(mark(X1), X2) → ADD(X1, X2)
ACTIVE(fib1(X, Y)) → CONS(X, fib1(Y, add(X, Y)))
ACTIVE(sel(s(N), cons(X, XS))) → MARK(sel(N, XS))
MARK(add(X1, X2)) → ACTIVE(add(mark(X1), mark(X2)))
FIB1(X1, active(X2)) → FIB1(X1, X2)
ACTIVE(sel(0, cons(X, XS))) → MARK(X)
FIB(active(X)) → FIB(X)
FIB1(X1, mark(X2)) → FIB1(X1, X2)
FIB1(active(X1), X2) → FIB1(X1, X2)
MARK(add(X1, X2)) → ADD(mark(X1), mark(X2))
MARK(sel(X1, X2)) → MARK(X1)
S(active(X)) → S(X)
MARK(cons(X1, X2)) → CONS(mark(X1), X2)
FIB(mark(X)) → FIB(X)
MARK(fib(X)) → FIB(mark(X))
ACTIVE(fib(N)) → FIB1(s(0), s(0))
ACTIVE(fib1(X, Y)) → FIB1(Y, add(X, Y))
ACTIVE(fib(N)) → SEL(N, fib1(s(0), s(0)))
ACTIVE(fib(N)) → S(0)
CONS(active(X1), X2) → CONS(X1, X2)
ACTIVE(fib1(X, Y)) → ADD(X, Y)
CONS(mark(X1), X2) → CONS(X1, X2)
MARK(fib(X)) → MARK(X)
SEL(mark(X1), X2) → SEL(X1, X2)
ACTIVE(add(s(X), Y)) → ADD(X, Y)
MARK(s(X)) → MARK(X)
SEL(X1, active(X2)) → SEL(X1, X2)
ACTIVE(add(s(X), Y)) → S(add(X, Y))
MARK(add(X1, X2)) → MARK(X2)
ACTIVE(add(s(X), Y)) → MARK(s(add(X, Y)))
MARK(fib1(X1, X2)) → MARK(X2)
ADD(X1, mark(X2)) → ADD(X1, X2)
MARK(add(X1, X2)) → MARK(X1)
CONS(X1, active(X2)) → CONS(X1, X2)
MARK(s(X)) → ACTIVE(s(mark(X)))
SEL(X1, mark(X2)) → SEL(X1, X2)
SEL(active(X1), X2) → SEL(X1, X2)
FIB1(mark(X1), X2) → FIB1(X1, X2)
MARK(s(X)) → S(mark(X))
S(mark(X)) → S(X)
MARK(cons(X1, X2)) → ACTIVE(cons(mark(X1), X2))
ACTIVE(fib1(X, Y)) → MARK(cons(X, fib1(Y, add(X, Y))))
MARK(sel(X1, X2)) → ACTIVE(sel(mark(X1), mark(X2)))
MARK(sel(X1, X2)) → SEL(mark(X1), mark(X2))
MARK(fib1(X1, X2)) → ACTIVE(fib1(mark(X1), mark(X2)))
MARK(0) → ACTIVE(0)
ACTIVE(sel(s(N), cons(X, XS))) → SEL(N, XS)
ACTIVE(add(0, X)) → MARK(X)
MARK(sel(X1, X2)) → MARK(X2)
active(fib(N)) → mark(sel(N, fib1(s(0), s(0))))
active(fib1(X, Y)) → mark(cons(X, fib1(Y, add(X, Y))))
active(add(0, X)) → mark(X)
active(add(s(X), Y)) → mark(s(add(X, Y)))
active(sel(0, cons(X, XS))) → mark(X)
active(sel(s(N), cons(X, XS))) → mark(sel(N, XS))
mark(fib(X)) → active(fib(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(fib1(X1, X2)) → active(fib1(mark(X1), mark(X2)))
mark(s(X)) → active(s(mark(X)))
mark(0) → active(0)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(add(X1, X2)) → active(add(mark(X1), mark(X2)))
fib(mark(X)) → fib(X)
fib(active(X)) → fib(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
fib1(mark(X1), X2) → fib1(X1, X2)
fib1(X1, mark(X2)) → fib1(X1, X2)
fib1(active(X1), X2) → fib1(X1, X2)
fib1(X1, active(X2)) → fib1(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
add(mark(X1), X2) → add(X1, X2)
add(X1, mark(X2)) → add(X1, X2)
add(active(X1), X2) → add(X1, X2)
add(X1, active(X2)) → add(X1, X2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
ADD(active(X1), X2) → ADD(X1, X2)
MARK(fib1(X1, X2)) → MARK(X1)
ACTIVE(fib(N)) → MARK(sel(N, fib1(s(0), s(0))))
MARK(fib1(X1, X2)) → FIB1(mark(X1), mark(X2))
MARK(fib(X)) → ACTIVE(fib(mark(X)))
MARK(cons(X1, X2)) → MARK(X1)
CONS(X1, mark(X2)) → CONS(X1, X2)
ADD(X1, active(X2)) → ADD(X1, X2)
ADD(mark(X1), X2) → ADD(X1, X2)
ACTIVE(fib1(X, Y)) → CONS(X, fib1(Y, add(X, Y)))
ACTIVE(sel(s(N), cons(X, XS))) → MARK(sel(N, XS))
MARK(add(X1, X2)) → ACTIVE(add(mark(X1), mark(X2)))
FIB1(X1, active(X2)) → FIB1(X1, X2)
ACTIVE(sel(0, cons(X, XS))) → MARK(X)
FIB(active(X)) → FIB(X)
FIB1(X1, mark(X2)) → FIB1(X1, X2)
FIB1(active(X1), X2) → FIB1(X1, X2)
MARK(add(X1, X2)) → ADD(mark(X1), mark(X2))
MARK(sel(X1, X2)) → MARK(X1)
S(active(X)) → S(X)
MARK(cons(X1, X2)) → CONS(mark(X1), X2)
FIB(mark(X)) → FIB(X)
MARK(fib(X)) → FIB(mark(X))
ACTIVE(fib(N)) → FIB1(s(0), s(0))
ACTIVE(fib1(X, Y)) → FIB1(Y, add(X, Y))
ACTIVE(fib(N)) → SEL(N, fib1(s(0), s(0)))
ACTIVE(fib(N)) → S(0)
CONS(active(X1), X2) → CONS(X1, X2)
ACTIVE(fib1(X, Y)) → ADD(X, Y)
CONS(mark(X1), X2) → CONS(X1, X2)
MARK(fib(X)) → MARK(X)
SEL(mark(X1), X2) → SEL(X1, X2)
ACTIVE(add(s(X), Y)) → ADD(X, Y)
MARK(s(X)) → MARK(X)
SEL(X1, active(X2)) → SEL(X1, X2)
ACTIVE(add(s(X), Y)) → S(add(X, Y))
MARK(add(X1, X2)) → MARK(X2)
ACTIVE(add(s(X), Y)) → MARK(s(add(X, Y)))
MARK(fib1(X1, X2)) → MARK(X2)
ADD(X1, mark(X2)) → ADD(X1, X2)
MARK(add(X1, X2)) → MARK(X1)
CONS(X1, active(X2)) → CONS(X1, X2)
MARK(s(X)) → ACTIVE(s(mark(X)))
SEL(X1, mark(X2)) → SEL(X1, X2)
SEL(active(X1), X2) → SEL(X1, X2)
FIB1(mark(X1), X2) → FIB1(X1, X2)
MARK(s(X)) → S(mark(X))
S(mark(X)) → S(X)
MARK(cons(X1, X2)) → ACTIVE(cons(mark(X1), X2))
ACTIVE(fib1(X, Y)) → MARK(cons(X, fib1(Y, add(X, Y))))
MARK(sel(X1, X2)) → ACTIVE(sel(mark(X1), mark(X2)))
MARK(sel(X1, X2)) → SEL(mark(X1), mark(X2))
MARK(fib1(X1, X2)) → ACTIVE(fib1(mark(X1), mark(X2)))
MARK(0) → ACTIVE(0)
ACTIVE(sel(s(N), cons(X, XS))) → SEL(N, XS)
ACTIVE(add(0, X)) → MARK(X)
MARK(sel(X1, X2)) → MARK(X2)
active(fib(N)) → mark(sel(N, fib1(s(0), s(0))))
active(fib1(X, Y)) → mark(cons(X, fib1(Y, add(X, Y))))
active(add(0, X)) → mark(X)
active(add(s(X), Y)) → mark(s(add(X, Y)))
active(sel(0, cons(X, XS))) → mark(X)
active(sel(s(N), cons(X, XS))) → mark(sel(N, XS))
mark(fib(X)) → active(fib(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(fib1(X1, X2)) → active(fib1(mark(X1), mark(X2)))
mark(s(X)) → active(s(mark(X)))
mark(0) → active(0)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(add(X1, X2)) → active(add(mark(X1), mark(X2)))
fib(mark(X)) → fib(X)
fib(active(X)) → fib(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
fib1(mark(X1), X2) → fib1(X1, X2)
fib1(X1, mark(X2)) → fib1(X1, X2)
fib1(active(X1), X2) → fib1(X1, X2)
fib1(X1, active(X2)) → fib1(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
add(mark(X1), X2) → add(X1, X2)
add(X1, mark(X2)) → add(X1, X2)
add(active(X1), X2) → add(X1, X2)
add(X1, active(X2)) → add(X1, X2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
ADD(active(X1), X2) → ADD(X1, X2)
ADD(X1, active(X2)) → ADD(X1, X2)
ADD(X1, mark(X2)) → ADD(X1, X2)
ADD(mark(X1), X2) → ADD(X1, X2)
active(fib(N)) → mark(sel(N, fib1(s(0), s(0))))
active(fib1(X, Y)) → mark(cons(X, fib1(Y, add(X, Y))))
active(add(0, X)) → mark(X)
active(add(s(X), Y)) → mark(s(add(X, Y)))
active(sel(0, cons(X, XS))) → mark(X)
active(sel(s(N), cons(X, XS))) → mark(sel(N, XS))
mark(fib(X)) → active(fib(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(fib1(X1, X2)) → active(fib1(mark(X1), mark(X2)))
mark(s(X)) → active(s(mark(X)))
mark(0) → active(0)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(add(X1, X2)) → active(add(mark(X1), mark(X2)))
fib(mark(X)) → fib(X)
fib(active(X)) → fib(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
fib1(mark(X1), X2) → fib1(X1, X2)
fib1(X1, mark(X2)) → fib1(X1, X2)
fib1(active(X1), X2) → fib1(X1, X2)
fib1(X1, active(X2)) → fib1(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
add(mark(X1), X2) → add(X1, X2)
add(X1, mark(X2)) → add(X1, X2)
add(active(X1), X2) → add(X1, X2)
add(X1, active(X2)) → add(X1, X2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QDPSizeChangeProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
ADD(active(X1), X2) → ADD(X1, X2)
ADD(X1, active(X2)) → ADD(X1, X2)
ADD(X1, mark(X2)) → ADD(X1, X2)
ADD(mark(X1), X2) → ADD(X1, X2)
From the DPs we obtained the following set of size-change graphs:
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
CONS(X1, active(X2)) → CONS(X1, X2)
CONS(mark(X1), X2) → CONS(X1, X2)
CONS(active(X1), X2) → CONS(X1, X2)
CONS(X1, mark(X2)) → CONS(X1, X2)
active(fib(N)) → mark(sel(N, fib1(s(0), s(0))))
active(fib1(X, Y)) → mark(cons(X, fib1(Y, add(X, Y))))
active(add(0, X)) → mark(X)
active(add(s(X), Y)) → mark(s(add(X, Y)))
active(sel(0, cons(X, XS))) → mark(X)
active(sel(s(N), cons(X, XS))) → mark(sel(N, XS))
mark(fib(X)) → active(fib(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(fib1(X1, X2)) → active(fib1(mark(X1), mark(X2)))
mark(s(X)) → active(s(mark(X)))
mark(0) → active(0)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(add(X1, X2)) → active(add(mark(X1), mark(X2)))
fib(mark(X)) → fib(X)
fib(active(X)) → fib(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
fib1(mark(X1), X2) → fib1(X1, X2)
fib1(X1, mark(X2)) → fib1(X1, X2)
fib1(active(X1), X2) → fib1(X1, X2)
fib1(X1, active(X2)) → fib1(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
add(mark(X1), X2) → add(X1, X2)
add(X1, mark(X2)) → add(X1, X2)
add(active(X1), X2) → add(X1, X2)
add(X1, active(X2)) → add(X1, X2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QDPSizeChangeProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
CONS(mark(X1), X2) → CONS(X1, X2)
CONS(X1, active(X2)) → CONS(X1, X2)
CONS(X1, mark(X2)) → CONS(X1, X2)
CONS(active(X1), X2) → CONS(X1, X2)
From the DPs we obtained the following set of size-change graphs:
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
S(mark(X)) → S(X)
S(active(X)) → S(X)
active(fib(N)) → mark(sel(N, fib1(s(0), s(0))))
active(fib1(X, Y)) → mark(cons(X, fib1(Y, add(X, Y))))
active(add(0, X)) → mark(X)
active(add(s(X), Y)) → mark(s(add(X, Y)))
active(sel(0, cons(X, XS))) → mark(X)
active(sel(s(N), cons(X, XS))) → mark(sel(N, XS))
mark(fib(X)) → active(fib(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(fib1(X1, X2)) → active(fib1(mark(X1), mark(X2)))
mark(s(X)) → active(s(mark(X)))
mark(0) → active(0)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(add(X1, X2)) → active(add(mark(X1), mark(X2)))
fib(mark(X)) → fib(X)
fib(active(X)) → fib(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
fib1(mark(X1), X2) → fib1(X1, X2)
fib1(X1, mark(X2)) → fib1(X1, X2)
fib1(active(X1), X2) → fib1(X1, X2)
fib1(X1, active(X2)) → fib1(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
add(mark(X1), X2) → add(X1, X2)
add(X1, mark(X2)) → add(X1, X2)
add(active(X1), X2) → add(X1, X2)
add(X1, active(X2)) → add(X1, X2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QDPSizeChangeProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
S(active(X)) → S(X)
S(mark(X)) → S(X)
From the DPs we obtained the following set of size-change graphs:
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QDP
↳ QDP
FIB1(X1, active(X2)) → FIB1(X1, X2)
FIB1(X1, mark(X2)) → FIB1(X1, X2)
FIB1(mark(X1), X2) → FIB1(X1, X2)
FIB1(active(X1), X2) → FIB1(X1, X2)
active(fib(N)) → mark(sel(N, fib1(s(0), s(0))))
active(fib1(X, Y)) → mark(cons(X, fib1(Y, add(X, Y))))
active(add(0, X)) → mark(X)
active(add(s(X), Y)) → mark(s(add(X, Y)))
active(sel(0, cons(X, XS))) → mark(X)
active(sel(s(N), cons(X, XS))) → mark(sel(N, XS))
mark(fib(X)) → active(fib(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(fib1(X1, X2)) → active(fib1(mark(X1), mark(X2)))
mark(s(X)) → active(s(mark(X)))
mark(0) → active(0)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(add(X1, X2)) → active(add(mark(X1), mark(X2)))
fib(mark(X)) → fib(X)
fib(active(X)) → fib(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
fib1(mark(X1), X2) → fib1(X1, X2)
fib1(X1, mark(X2)) → fib1(X1, X2)
fib1(active(X1), X2) → fib1(X1, X2)
fib1(X1, active(X2)) → fib1(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
add(mark(X1), X2) → add(X1, X2)
add(X1, mark(X2)) → add(X1, X2)
add(active(X1), X2) → add(X1, X2)
add(X1, active(X2)) → add(X1, X2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QDPSizeChangeProof
↳ QDP
↳ QDP
↳ QDP
FIB1(X1, active(X2)) → FIB1(X1, X2)
FIB1(X1, mark(X2)) → FIB1(X1, X2)
FIB1(mark(X1), X2) → FIB1(X1, X2)
FIB1(active(X1), X2) → FIB1(X1, X2)
From the DPs we obtained the following set of size-change graphs:
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QDP
SEL(mark(X1), X2) → SEL(X1, X2)
SEL(X1, active(X2)) → SEL(X1, X2)
SEL(X1, mark(X2)) → SEL(X1, X2)
SEL(active(X1), X2) → SEL(X1, X2)
active(fib(N)) → mark(sel(N, fib1(s(0), s(0))))
active(fib1(X, Y)) → mark(cons(X, fib1(Y, add(X, Y))))
active(add(0, X)) → mark(X)
active(add(s(X), Y)) → mark(s(add(X, Y)))
active(sel(0, cons(X, XS))) → mark(X)
active(sel(s(N), cons(X, XS))) → mark(sel(N, XS))
mark(fib(X)) → active(fib(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(fib1(X1, X2)) → active(fib1(mark(X1), mark(X2)))
mark(s(X)) → active(s(mark(X)))
mark(0) → active(0)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(add(X1, X2)) → active(add(mark(X1), mark(X2)))
fib(mark(X)) → fib(X)
fib(active(X)) → fib(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
fib1(mark(X1), X2) → fib1(X1, X2)
fib1(X1, mark(X2)) → fib1(X1, X2)
fib1(active(X1), X2) → fib1(X1, X2)
fib1(X1, active(X2)) → fib1(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
add(mark(X1), X2) → add(X1, X2)
add(X1, mark(X2)) → add(X1, X2)
add(active(X1), X2) → add(X1, X2)
add(X1, active(X2)) → add(X1, X2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QDPSizeChangeProof
↳ QDP
↳ QDP
SEL(mark(X1), X2) → SEL(X1, X2)
SEL(X1, active(X2)) → SEL(X1, X2)
SEL(X1, mark(X2)) → SEL(X1, X2)
SEL(active(X1), X2) → SEL(X1, X2)
From the DPs we obtained the following set of size-change graphs:
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
FIB(mark(X)) → FIB(X)
FIB(active(X)) → FIB(X)
active(fib(N)) → mark(sel(N, fib1(s(0), s(0))))
active(fib1(X, Y)) → mark(cons(X, fib1(Y, add(X, Y))))
active(add(0, X)) → mark(X)
active(add(s(X), Y)) → mark(s(add(X, Y)))
active(sel(0, cons(X, XS))) → mark(X)
active(sel(s(N), cons(X, XS))) → mark(sel(N, XS))
mark(fib(X)) → active(fib(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(fib1(X1, X2)) → active(fib1(mark(X1), mark(X2)))
mark(s(X)) → active(s(mark(X)))
mark(0) → active(0)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(add(X1, X2)) → active(add(mark(X1), mark(X2)))
fib(mark(X)) → fib(X)
fib(active(X)) → fib(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
fib1(mark(X1), X2) → fib1(X1, X2)
fib1(X1, mark(X2)) → fib1(X1, X2)
fib1(active(X1), X2) → fib1(X1, X2)
fib1(X1, active(X2)) → fib1(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
add(mark(X1), X2) → add(X1, X2)
add(X1, mark(X2)) → add(X1, X2)
add(active(X1), X2) → add(X1, X2)
add(X1, active(X2)) → add(X1, X2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QDPSizeChangeProof
↳ QDP
FIB(mark(X)) → FIB(X)
FIB(active(X)) → FIB(X)
From the DPs we obtained the following set of size-change graphs:
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
MARK(fib(X)) → MARK(X)
MARK(sel(X1, X2)) → MARK(X1)
ACTIVE(fib(N)) → MARK(sel(N, fib1(s(0), s(0))))
MARK(fib1(X1, X2)) → MARK(X1)
MARK(cons(X1, X2)) → ACTIVE(cons(mark(X1), X2))
MARK(s(X)) → MARK(X)
MARK(add(X1, X2)) → MARK(X2)
MARK(fib(X)) → ACTIVE(fib(mark(X)))
MARK(cons(X1, X2)) → MARK(X1)
ACTIVE(fib1(X, Y)) → MARK(cons(X, fib1(Y, add(X, Y))))
MARK(fib1(X1, X2)) → MARK(X2)
ACTIVE(add(s(X), Y)) → MARK(s(add(X, Y)))
MARK(sel(X1, X2)) → ACTIVE(sel(mark(X1), mark(X2)))
MARK(add(X1, X2)) → MARK(X1)
ACTIVE(sel(s(N), cons(X, XS))) → MARK(sel(N, XS))
MARK(add(X1, X2)) → ACTIVE(add(mark(X1), mark(X2)))
MARK(s(X)) → ACTIVE(s(mark(X)))
MARK(fib1(X1, X2)) → ACTIVE(fib1(mark(X1), mark(X2)))
ACTIVE(sel(0, cons(X, XS))) → MARK(X)
ACTIVE(add(0, X)) → MARK(X)
MARK(sel(X1, X2)) → MARK(X2)
active(fib(N)) → mark(sel(N, fib1(s(0), s(0))))
active(fib1(X, Y)) → mark(cons(X, fib1(Y, add(X, Y))))
active(add(0, X)) → mark(X)
active(add(s(X), Y)) → mark(s(add(X, Y)))
active(sel(0, cons(X, XS))) → mark(X)
active(sel(s(N), cons(X, XS))) → mark(sel(N, XS))
mark(fib(X)) → active(fib(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(fib1(X1, X2)) → active(fib1(mark(X1), mark(X2)))
mark(s(X)) → active(s(mark(X)))
mark(0) → active(0)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(add(X1, X2)) → active(add(mark(X1), mark(X2)))
fib(mark(X)) → fib(X)
fib(active(X)) → fib(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
fib1(mark(X1), X2) → fib1(X1, X2)
fib1(X1, mark(X2)) → fib1(X1, X2)
fib1(active(X1), X2) → fib1(X1, X2)
fib1(X1, active(X2)) → fib1(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
add(mark(X1), X2) → add(X1, X2)
add(X1, mark(X2)) → add(X1, X2)
add(active(X1), X2) → add(X1, X2)
add(X1, active(X2)) → add(X1, X2)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
MARK(cons(X1, X2)) → ACTIVE(cons(mark(X1), X2))
MARK(s(X)) → ACTIVE(s(mark(X)))
Used ordering: Polynomial interpretation [25]:
MARK(fib(X)) → MARK(X)
MARK(sel(X1, X2)) → MARK(X1)
ACTIVE(fib(N)) → MARK(sel(N, fib1(s(0), s(0))))
MARK(fib1(X1, X2)) → MARK(X1)
MARK(s(X)) → MARK(X)
MARK(add(X1, X2)) → MARK(X2)
MARK(fib(X)) → ACTIVE(fib(mark(X)))
MARK(cons(X1, X2)) → MARK(X1)
ACTIVE(fib1(X, Y)) → MARK(cons(X, fib1(Y, add(X, Y))))
MARK(fib1(X1, X2)) → MARK(X2)
ACTIVE(add(s(X), Y)) → MARK(s(add(X, Y)))
MARK(sel(X1, X2)) → ACTIVE(sel(mark(X1), mark(X2)))
MARK(add(X1, X2)) → MARK(X1)
ACTIVE(sel(s(N), cons(X, XS))) → MARK(sel(N, XS))
MARK(add(X1, X2)) → ACTIVE(add(mark(X1), mark(X2)))
MARK(fib1(X1, X2)) → ACTIVE(fib1(mark(X1), mark(X2)))
ACTIVE(sel(0, cons(X, XS))) → MARK(X)
ACTIVE(add(0, X)) → MARK(X)
MARK(sel(X1, X2)) → MARK(X2)
POL(0) = 0
POL(ACTIVE(x1)) = x1
POL(MARK(x1)) = 1
POL(active(x1)) = 0
POL(add(x1, x2)) = 1
POL(cons(x1, x2)) = 0
POL(fib(x1)) = 1
POL(fib1(x1, x2)) = 1
POL(mark(x1)) = 0
POL(s(x1)) = 0
POL(sel(x1, x2)) = 1
add(X1, mark(X2)) → add(X1, X2)
add(mark(X1), X2) → add(X1, X2)
add(active(X1), X2) → add(X1, X2)
add(X1, active(X2)) → add(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
s(active(X)) → s(X)
s(mark(X)) → s(X)
fib(active(X)) → fib(X)
fib(mark(X)) → fib(X)
fib1(X1, active(X2)) → fib1(X1, X2)
fib1(X1, mark(X2)) → fib1(X1, X2)
fib1(mark(X1), X2) → fib1(X1, X2)
fib1(active(X1), X2) → fib1(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ Narrowing
MARK(fib(X)) → MARK(X)
MARK(sel(X1, X2)) → MARK(X1)
ACTIVE(fib(N)) → MARK(sel(N, fib1(s(0), s(0))))
MARK(fib1(X1, X2)) → MARK(X1)
MARK(s(X)) → MARK(X)
MARK(add(X1, X2)) → MARK(X2)
MARK(fib(X)) → ACTIVE(fib(mark(X)))
MARK(cons(X1, X2)) → MARK(X1)
ACTIVE(fib1(X, Y)) → MARK(cons(X, fib1(Y, add(X, Y))))
MARK(fib1(X1, X2)) → MARK(X2)
ACTIVE(add(s(X), Y)) → MARK(s(add(X, Y)))
MARK(sel(X1, X2)) → ACTIVE(sel(mark(X1), mark(X2)))
MARK(add(X1, X2)) → MARK(X1)
ACTIVE(sel(s(N), cons(X, XS))) → MARK(sel(N, XS))
MARK(add(X1, X2)) → ACTIVE(add(mark(X1), mark(X2)))
MARK(fib1(X1, X2)) → ACTIVE(fib1(mark(X1), mark(X2)))
ACTIVE(sel(0, cons(X, XS))) → MARK(X)
ACTIVE(add(0, X)) → MARK(X)
MARK(sel(X1, X2)) → MARK(X2)
active(fib(N)) → mark(sel(N, fib1(s(0), s(0))))
active(fib1(X, Y)) → mark(cons(X, fib1(Y, add(X, Y))))
active(add(0, X)) → mark(X)
active(add(s(X), Y)) → mark(s(add(X, Y)))
active(sel(0, cons(X, XS))) → mark(X)
active(sel(s(N), cons(X, XS))) → mark(sel(N, XS))
mark(fib(X)) → active(fib(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(fib1(X1, X2)) → active(fib1(mark(X1), mark(X2)))
mark(s(X)) → active(s(mark(X)))
mark(0) → active(0)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(add(X1, X2)) → active(add(mark(X1), mark(X2)))
fib(mark(X)) → fib(X)
fib(active(X)) → fib(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
fib1(mark(X1), X2) → fib1(X1, X2)
fib1(X1, mark(X2)) → fib1(X1, X2)
fib1(active(X1), X2) → fib1(X1, X2)
fib1(X1, active(X2)) → fib1(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
add(mark(X1), X2) → add(X1, X2)
add(X1, mark(X2)) → add(X1, X2)
add(active(X1), X2) → add(X1, X2)
add(X1, active(X2)) → add(X1, X2)
MARK(sel(sel(x0, x1), y1)) → ACTIVE(sel(active(sel(mark(x0), mark(x1))), mark(y1)))
MARK(sel(fib1(x0, x1), y1)) → ACTIVE(sel(active(fib1(mark(x0), mark(x1))), mark(y1)))
MARK(sel(cons(x0, x1), y1)) → ACTIVE(sel(active(cons(mark(x0), x1)), mark(y1)))
MARK(sel(add(x0, x1), y1)) → ACTIVE(sel(active(add(mark(x0), mark(x1))), mark(y1)))
MARK(sel(y0, x1)) → ACTIVE(sel(mark(y0), x1))
MARK(sel(y0, fib(x0))) → ACTIVE(sel(mark(y0), active(fib(mark(x0)))))
MARK(sel(x0, y1)) → ACTIVE(sel(x0, mark(y1)))
MARK(sel(y0, fib1(x0, x1))) → ACTIVE(sel(mark(y0), active(fib1(mark(x0), mark(x1)))))
MARK(sel(y0, cons(x0, x1))) → ACTIVE(sel(mark(y0), active(cons(mark(x0), x1))))
MARK(sel(fib(x0), y1)) → ACTIVE(sel(active(fib(mark(x0))), mark(y1)))
MARK(sel(y0, sel(x0, x1))) → ACTIVE(sel(mark(y0), active(sel(mark(x0), mark(x1)))))
MARK(sel(y0, 0)) → ACTIVE(sel(mark(y0), active(0)))
MARK(sel(0, y1)) → ACTIVE(sel(active(0), mark(y1)))
MARK(sel(y0, s(x0))) → ACTIVE(sel(mark(y0), active(s(mark(x0)))))
MARK(sel(y0, add(x0, x1))) → ACTIVE(sel(mark(y0), active(add(mark(x0), mark(x1)))))
MARK(sel(s(x0), y1)) → ACTIVE(sel(active(s(mark(x0))), mark(y1)))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Narrowing
MARK(fib(X)) → MARK(X)
ACTIVE(fib(N)) → MARK(sel(N, fib1(s(0), s(0))))
MARK(fib1(X1, X2)) → MARK(X1)
MARK(s(X)) → MARK(X)
MARK(add(X1, X2)) → MARK(X2)
MARK(sel(fib1(x0, x1), y1)) → ACTIVE(sel(active(fib1(mark(x0), mark(x1))), mark(y1)))
MARK(fib(X)) → ACTIVE(fib(mark(X)))
MARK(cons(X1, X2)) → MARK(X1)
MARK(fib1(X1, X2)) → MARK(X2)
ACTIVE(add(s(X), Y)) → MARK(s(add(X, Y)))
MARK(sel(cons(x0, x1), y1)) → ACTIVE(sel(active(cons(mark(x0), x1)), mark(y1)))
MARK(sel(add(x0, x1), y1)) → ACTIVE(sel(active(add(mark(x0), mark(x1))), mark(y1)))
MARK(add(X1, X2)) → MARK(X1)
MARK(sel(y0, x1)) → ACTIVE(sel(mark(y0), x1))
MARK(sel(y0, fib1(x0, x1))) → ACTIVE(sel(mark(y0), active(fib1(mark(x0), mark(x1)))))
ACTIVE(sel(s(N), cons(X, XS))) → MARK(sel(N, XS))
MARK(sel(fib(x0), y1)) → ACTIVE(sel(active(fib(mark(x0))), mark(y1)))
MARK(sel(y0, cons(x0, x1))) → ACTIVE(sel(mark(y0), active(cons(mark(x0), x1))))
MARK(add(X1, X2)) → ACTIVE(add(mark(X1), mark(X2)))
MARK(sel(0, y1)) → ACTIVE(sel(active(0), mark(y1)))
MARK(sel(y0, 0)) → ACTIVE(sel(mark(y0), active(0)))
ACTIVE(sel(0, cons(X, XS))) → MARK(X)
MARK(sel(y0, s(x0))) → ACTIVE(sel(mark(y0), active(s(mark(x0)))))
MARK(sel(y0, add(x0, x1))) → ACTIVE(sel(mark(y0), active(add(mark(x0), mark(x1)))))
MARK(sel(X1, X2)) → MARK(X1)
MARK(sel(sel(x0, x1), y1)) → ACTIVE(sel(active(sel(mark(x0), mark(x1))), mark(y1)))
ACTIVE(fib1(X, Y)) → MARK(cons(X, fib1(Y, add(X, Y))))
MARK(sel(y0, fib(x0))) → ACTIVE(sel(mark(y0), active(fib(mark(x0)))))
MARK(sel(x0, y1)) → ACTIVE(sel(x0, mark(y1)))
MARK(sel(y0, sel(x0, x1))) → ACTIVE(sel(mark(y0), active(sel(mark(x0), mark(x1)))))
MARK(fib1(X1, X2)) → ACTIVE(fib1(mark(X1), mark(X2)))
ACTIVE(add(0, X)) → MARK(X)
MARK(sel(X1, X2)) → MARK(X2)
MARK(sel(s(x0), y1)) → ACTIVE(sel(active(s(mark(x0))), mark(y1)))
active(fib(N)) → mark(sel(N, fib1(s(0), s(0))))
active(fib1(X, Y)) → mark(cons(X, fib1(Y, add(X, Y))))
active(add(0, X)) → mark(X)
active(add(s(X), Y)) → mark(s(add(X, Y)))
active(sel(0, cons(X, XS))) → mark(X)
active(sel(s(N), cons(X, XS))) → mark(sel(N, XS))
mark(fib(X)) → active(fib(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(fib1(X1, X2)) → active(fib1(mark(X1), mark(X2)))
mark(s(X)) → active(s(mark(X)))
mark(0) → active(0)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(add(X1, X2)) → active(add(mark(X1), mark(X2)))
fib(mark(X)) → fib(X)
fib(active(X)) → fib(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
fib1(mark(X1), X2) → fib1(X1, X2)
fib1(X1, mark(X2)) → fib1(X1, X2)
fib1(active(X1), X2) → fib1(X1, X2)
fib1(X1, active(X2)) → fib1(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
add(mark(X1), X2) → add(X1, X2)
add(X1, mark(X2)) → add(X1, X2)
add(active(X1), X2) → add(X1, X2)
add(X1, active(X2)) → add(X1, X2)
MARK(add(add(x0, x1), y1)) → ACTIVE(add(active(add(mark(x0), mark(x1))), mark(y1)))
MARK(add(fib(x0), y1)) → ACTIVE(add(active(fib(mark(x0))), mark(y1)))
MARK(add(y0, s(x0))) → ACTIVE(add(mark(y0), active(s(mark(x0)))))
MARK(add(y0, fib1(x0, x1))) → ACTIVE(add(mark(y0), active(fib1(mark(x0), mark(x1)))))
MARK(add(fib1(x0, x1), y1)) → ACTIVE(add(active(fib1(mark(x0), mark(x1))), mark(y1)))
MARK(add(s(x0), y1)) → ACTIVE(add(active(s(mark(x0))), mark(y1)))
MARK(add(y0, x1)) → ACTIVE(add(mark(y0), x1))
MARK(add(y0, sel(x0, x1))) → ACTIVE(add(mark(y0), active(sel(mark(x0), mark(x1)))))
MARK(add(cons(x0, x1), y1)) → ACTIVE(add(active(cons(mark(x0), x1)), mark(y1)))
MARK(add(y0, 0)) → ACTIVE(add(mark(y0), active(0)))
MARK(add(0, y1)) → ACTIVE(add(active(0), mark(y1)))
MARK(add(x0, y1)) → ACTIVE(add(x0, mark(y1)))
MARK(add(sel(x0, x1), y1)) → ACTIVE(add(active(sel(mark(x0), mark(x1))), mark(y1)))
MARK(add(y0, cons(x0, x1))) → ACTIVE(add(mark(y0), active(cons(mark(x0), x1))))
MARK(add(y0, fib(x0))) → ACTIVE(add(mark(y0), active(fib(mark(x0)))))
MARK(add(y0, add(x0, x1))) → ACTIVE(add(mark(y0), active(add(mark(x0), mark(x1)))))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Narrowing
↳ QDP
ACTIVE(fib(N)) → MARK(sel(N, fib1(s(0), s(0))))
MARK(fib1(X1, X2)) → MARK(X1)
MARK(fib(X)) → ACTIVE(fib(mark(X)))
MARK(add(y0, s(x0))) → ACTIVE(add(mark(y0), active(s(mark(x0)))))
MARK(cons(X1, X2)) → MARK(X1)
MARK(add(y0, sel(x0, x1))) → ACTIVE(add(mark(y0), active(sel(mark(x0), mark(x1)))))
MARK(sel(y0, fib1(x0, x1))) → ACTIVE(sel(mark(y0), active(fib1(mark(x0), mark(x1)))))
ACTIVE(sel(s(N), cons(X, XS))) → MARK(sel(N, XS))
MARK(sel(fib(x0), y1)) → ACTIVE(sel(active(fib(mark(x0))), mark(y1)))
MARK(sel(y0, cons(x0, x1))) → ACTIVE(sel(mark(y0), active(cons(mark(x0), x1))))
MARK(add(sel(x0, x1), y1)) → ACTIVE(add(active(sel(mark(x0), mark(x1))), mark(y1)))
ACTIVE(sel(0, cons(X, XS))) → MARK(X)
MARK(sel(y0, s(x0))) → ACTIVE(sel(mark(y0), active(s(mark(x0)))))
MARK(add(y0, add(x0, x1))) → ACTIVE(add(mark(y0), active(add(mark(x0), mark(x1)))))
MARK(add(add(x0, x1), y1)) → ACTIVE(add(active(add(mark(x0), mark(x1))), mark(y1)))
MARK(sel(X1, X2)) → MARK(X1)
MARK(add(y0, x1)) → ACTIVE(add(mark(y0), x1))
MARK(sel(y0, sel(x0, x1))) → ACTIVE(sel(mark(y0), active(sel(mark(x0), mark(x1)))))
MARK(add(x0, y1)) → ACTIVE(add(x0, mark(y1)))
MARK(add(y0, cons(x0, x1))) → ACTIVE(add(mark(y0), active(cons(mark(x0), x1))))
MARK(fib(X)) → MARK(X)
MARK(s(X)) → MARK(X)
MARK(add(X1, X2)) → MARK(X2)
MARK(sel(fib1(x0, x1), y1)) → ACTIVE(sel(active(fib1(mark(x0), mark(x1))), mark(y1)))
MARK(fib1(X1, X2)) → MARK(X2)
ACTIVE(add(s(X), Y)) → MARK(s(add(X, Y)))
MARK(sel(cons(x0, x1), y1)) → ACTIVE(sel(active(cons(mark(x0), x1)), mark(y1)))
MARK(add(fib1(x0, x1), y1)) → ACTIVE(add(active(fib1(mark(x0), mark(x1))), mark(y1)))
MARK(sel(add(x0, x1), y1)) → ACTIVE(sel(active(add(mark(x0), mark(x1))), mark(y1)))
MARK(add(X1, X2)) → MARK(X1)
MARK(sel(y0, x1)) → ACTIVE(sel(mark(y0), x1))
MARK(add(cons(x0, x1), y1)) → ACTIVE(add(active(cons(mark(x0), x1)), mark(y1)))
MARK(sel(0, y1)) → ACTIVE(sel(active(0), mark(y1)))
MARK(sel(y0, 0)) → ACTIVE(sel(mark(y0), active(0)))
MARK(sel(y0, add(x0, x1))) → ACTIVE(sel(mark(y0), active(add(mark(x0), mark(x1)))))
MARK(sel(sel(x0, x1), y1)) → ACTIVE(sel(active(sel(mark(x0), mark(x1))), mark(y1)))
MARK(add(fib(x0), y1)) → ACTIVE(add(active(fib(mark(x0))), mark(y1)))
ACTIVE(fib1(X, Y)) → MARK(cons(X, fib1(Y, add(X, Y))))
MARK(add(y0, fib1(x0, x1))) → ACTIVE(add(mark(y0), active(fib1(mark(x0), mark(x1)))))
MARK(add(s(x0), y1)) → ACTIVE(add(active(s(mark(x0))), mark(y1)))
MARK(sel(y0, fib(x0))) → ACTIVE(sel(mark(y0), active(fib(mark(x0)))))
MARK(sel(x0, y1)) → ACTIVE(sel(x0, mark(y1)))
MARK(fib1(X1, X2)) → ACTIVE(fib1(mark(X1), mark(X2)))
MARK(add(y0, 0)) → ACTIVE(add(mark(y0), active(0)))
MARK(add(0, y1)) → ACTIVE(add(active(0), mark(y1)))
MARK(add(y0, fib(x0))) → ACTIVE(add(mark(y0), active(fib(mark(x0)))))
ACTIVE(add(0, X)) → MARK(X)
MARK(sel(X1, X2)) → MARK(X2)
MARK(sel(s(x0), y1)) → ACTIVE(sel(active(s(mark(x0))), mark(y1)))
active(fib(N)) → mark(sel(N, fib1(s(0), s(0))))
active(fib1(X, Y)) → mark(cons(X, fib1(Y, add(X, Y))))
active(add(0, X)) → mark(X)
active(add(s(X), Y)) → mark(s(add(X, Y)))
active(sel(0, cons(X, XS))) → mark(X)
active(sel(s(N), cons(X, XS))) → mark(sel(N, XS))
mark(fib(X)) → active(fib(mark(X)))
mark(sel(X1, X2)) → active(sel(mark(X1), mark(X2)))
mark(fib1(X1, X2)) → active(fib1(mark(X1), mark(X2)))
mark(s(X)) → active(s(mark(X)))
mark(0) → active(0)
mark(cons(X1, X2)) → active(cons(mark(X1), X2))
mark(add(X1, X2)) → active(add(mark(X1), mark(X2)))
fib(mark(X)) → fib(X)
fib(active(X)) → fib(X)
sel(mark(X1), X2) → sel(X1, X2)
sel(X1, mark(X2)) → sel(X1, X2)
sel(active(X1), X2) → sel(X1, X2)
sel(X1, active(X2)) → sel(X1, X2)
fib1(mark(X1), X2) → fib1(X1, X2)
fib1(X1, mark(X2)) → fib1(X1, X2)
fib1(active(X1), X2) → fib1(X1, X2)
fib1(X1, active(X2)) → fib1(X1, X2)
s(mark(X)) → s(X)
s(active(X)) → s(X)
cons(mark(X1), X2) → cons(X1, X2)
cons(X1, mark(X2)) → cons(X1, X2)
cons(active(X1), X2) → cons(X1, X2)
cons(X1, active(X2)) → cons(X1, X2)
add(mark(X1), X2) → add(X1, X2)
add(X1, mark(X2)) → add(X1, X2)
add(active(X1), X2) → add(X1, X2)
add(X1, active(X2)) → add(X1, X2)